/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mvp.levelup.oop2;

/**
 *
 * @author WORKSPOT2
 */
public abstract class Person
{
    private String name;
    private String surname;
    private int sex;

    public Person(String name, String surname, int sex)
    {
        this.name = name;
        this.surname = surname;
        this.sex = sex;
    }

    public String getName()
    {
        return name;
    }

    public String getSurname()
    {
        return surname;
    }

    public int getSex()
    {
        return sex;
    }
    
    public abstract void beHappyMan();
    
    
}
